From c7458fa52e7eee46c74917cba7f1aa7b55f7db7f Mon Sep 17 00:00:00 2001 From: "smh22@firebug.cl.cam.ac.uk" Date: Sat, 26 Nov 2005 12:17:35 +0100 Subject: [PATCH] Fix formatting. Signed-off-by: Steven Hand --- tools/libxc/xc_linux_save.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/libxc/xc_linux_save.c b/tools/libxc/xc_linux_save.c index 16eae762fc..f91a30b4f3 100644 --- a/tools/libxc/xc_linux_save.c +++ b/tools/libxc/xc_linux_save.c @@ -457,14 +457,14 @@ void canonicalize_pagetable(unsigned long type, unsigned long pfn, xen_start = (hvirt_start >> L2_PAGETABLE_SHIFT_PAE) & 0x1ff; } - if (pt_levels == 4 && type == L4TAB) { - /* + if (pt_levels == 4 && type == L4TAB) { + /* ** XXX SMH: should compute these from hvirt_start (which we have) - ** and hvirt_end (which we don't) + ** and hvirt_end (which we don't) */ - xen_start = 256; - xen_end = 272; - } + xen_start = 256; + xen_end = 272; + } /* Now iterate through the page table, canonicalizing each PTE */ for (i = 0; i < pte_last; i++ ) { -- 2.30.2